package com.yx.china.controller;

import com.yx.china.service.ProviderService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class SendController {
    @Resource
    private ProviderService providerService;

    @GetMapping("/sendMessage")
    public String sendMessage(){
        return providerService.send();
    }
}
